package com.yinhd.study.designPatterns.Interviewer.course;

/**
 * @program: study
 * @description:
 * @Author: chengl
 * @create: 2022-02-08 10:29
 **/
public class PracticeCourse extends Course {
    private Double price;

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public void accept(IVisitor visitor) {
     visitor.visit(this);
    }
}
